package com.share.util;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * author:caifan
 * date:2019/11/15
 */
public class PasswordHelper {

    public void encryptPassword(String password, String salt) {
        DigestUtils.sha256Hex(password + salt);
    }
}
